package com.job.meeting.mapper;

import com.job.meeting.pojo.user;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    int updateUser(user user);
    int insertUser(user user);
    user getUserByOpenid(String openid);
    user getUserByUserId(int id);
    List<user> getUserByPrivileges(int privilege);
    int PrivilegesVerification(String openID);
}
